package com.burstly.lib.component.networkcomponent.burstly;

class BackButtonBlocker
{
  private final long mBlockTime;
  private long mStartBlockingTime;

  BackButtonBlocker(long paramLong)
  {
    this.mBlockTime = paramLong;
  }

  private boolean isBlocked()
  {
    return this.mStartBlockingTime + this.mBlockTime > System.currentTimeMillis();
  }

  boolean blocked(int paramInt)
  {
    return (paramInt == 4) && (isBlocked());
  }

  long getBlockTime()
  {
    return this.mBlockTime;
  }

  void startBlocking()
  {
    this.mStartBlockingTime = System.currentTimeMillis();
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.component.networkcomponent.burstly.BackButtonBlocker
 * JD-Core Version:    0.6.2
 */